Xbasic

UI_GET_ORDER Function

Syntax

Expression as C = ui_get_order([C title [,C prompt [,C default [,C table_set_name ]]]])

Arguments

Expression

The expression entered by the user.

title

Optional. Default = "". The title of the dialog box.

prompt

Optional. Default = "". The prompt inside the dialog box.

default

Optional. Default = "". The default value to display for the order expression.

table_set_name

Optional. Default = current table or set. The table to use to evaluate the order expression. Table_Set_Name may be a CR-LF delimited list of tables.

Description

Prompts for an order expression. If table_set_name is not specified, current table/set is used. Table_set_name can be a crlf delimited list of tables.

Discussion

The UI_GET_ORDER() function prompts for an order expression. If the Table_Set_Name is not provided, it uses the current table or set. Clicking on the double arrow icon displays the Order Builder dialog box.

Example

ui_get_order("Order Expression", "Enter an order expression: ", "Lastname > 'A'", "Customer")

Limitations

Desktop applications only.

See Also